package com.jk.controller;

import com.jk.dao.CommentDao;
import com.jk.dao.HotelDao;
import com.jk.po.CommentPO;
import com.jk.po.HotelPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class CommentController {

    @Autowired
    private CommentDao commentDao;

    /**
     * @author 段卓帆
     * @date 2021/6/30 14:50
     * @return 查看评论详情
     */
    public CommentPO queryHotelById(Integer id) {
        return commentDao.selectById(id);
    }


}
